package com.joymeter.data.service.impl;
 
import com.joymeter.data.entity.DeviceInfo;
import com.joymeter.data.mapper.DeviceInfoMapper;
import com.joymeter.data.service.DeviceInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;


/**
 * @ClassName DeviceInfoServiceImpl
 * @Description TODO
 * deviceInfo表的操作
 * @Author liang
 * @Date 2018/8/12 13:08
 * @Version 1.0
 **/
@Service
public class DeviceInfoServiceImpl   implements DeviceInfoService {
    @Autowired
    private DeviceInfoMapper deviceInfoMapper;

    @Override
    public DeviceInfo selectDeviceInfoById(String deviceId) {
        List<DeviceInfo> all = deviceInfoMapper.getAll();
        System.out.println(all.toString());
        return null;
    }

    @Override
    public DeviceInfo selectDeviceInfoByValId(String valveId) {
        return null;
    }

    @Override
    public Integer updateDeviceInfo(DeviceInfo deviceInfo) throws Exception {
        return null;
    }

    @Override
    public Integer getDeviceCount(DeviceInfo deviceInfo) {
        return null;
    }

    @Override
    public List<DeviceInfo> selectNoneDateADay() {
        return null;
    }

    @Override
    public boolean insertDeviceInfo(DeviceInfo deviceInfo) {
        return false;
    }

    @Override
    public boolean deleteDeviceInfoById(String deviceId) {
        return false;
    }
}
